a=set([1,2,3,3])
b={2,3}
print(a&b)
print(a|b)
print(a-b)
print(a)